package com.vmj.classfile.entity.constantinfo;

import com.vmj.classfile.ClassReader;
import com.vmj.classfile.entity.AbstractConstantInfo;

/**
 * Created by yangshoujun on 2017/8/6 上午11:18.
 */
public class ConstantFloatInfo extends AbstractConstantInfo {

    float value;

    public ConstantFloatInfo(ClassReader reader) {
        super(reader);
    }

    public float getValue() {
        return value;
    }

    public void setValue(float value) {
        this.value = value;
    }

    public void parse() {
        this.value = super.getReader().readFloat();
    }
}
